package cn.rxyb.desgin.mediator;

/**
 * @author YJH
 * @version 1.0
 * @description 抽象的同时类
 * @date 2020/7/3 15:00
 */
public abstract class AbstractColleague {

    private AbstractMediator abstractMediator;

    public AbstractMediator getAbstractMediator() {
        return abstractMediator;
    }

    public void setAbstractMediator(AbstractMediator abstractMediator) {
        this.abstractMediator = abstractMediator;
    }


    // 接收信息 
    public abstract void receive();

    // 发送信息
    public abstract void send();
}
